package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 * User: zhuangzibing
 * Date: 2020/6/29
 */

@SpringBootApplication
@EnableDiscoveryClient//该注解向consul或者zookeeper注册中心注册服务
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class,args);
    }
}
